#!/bin/bash

#Authors:
#  Bruno Goncalves Araujo <www.biglinux.com.br>
#
#License: GPLv2 or later
#################################################


        if [ "$(grep "bigrestoreuser" /usr/bin/startkde)" = "" ]
        then
	    sed -i -e '3i\' -e 'if [ -d /usr/share/bigrestoreuser/$USER ]\n then\n rm -Rf ~/.* \n rm -Rf ~/* \n cd /usr/share/bigrestoreuser/$USER/ \n cp -Rf .* ~/ \n fi' /usr/bin/startkde
        fi

